<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./animate.css">
<script src="./vue.js"></script>
</head>
<body>
    <div id="app">
        <button @click="show=!show"> open/hide</button>
           <transition 
           enter-active-class="animated bounceInLeft"
           enter-active-class="animated bounceOutLeft">
        <p v-if="show"> ok</p></div>
        </transition>
    </div>
    <script>
        var vm = new Vue({
            el:'#app',
            data:{ show:true}
        })
    </script>


</body>
</html>